<%--
  Created by IntelliJ IDEA.
  User: NJWB
  Date: 2024/7/18
  Time: 14:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="dept" method="post">
    部门编号：<input type="text" name="deptNo"><br/>
    部门名称：<input type="text" name="dname" ><br/>
    部门位置：<input type="text" name="loc"><br/>
    <input type="submit" value="新增">
</form>

<form action="dept" method="post">
    <input type="hidden" name="_method" value="put">
    部门编号：<input type="text" name="deptNo"><br/>
    部门名称：<input type="text" name="dname" ><br/>
    部门位置：<input type="text" name="loc"><br/>
    <input type="submit" value="修改">
</form>

<form action="dept/1" method="post">
    <input type="hidden" name="_method" value="delete">
    <input type="submit" value="删除">
</form>

<a href="dept/1">查询部门</a>
</body>
</html>
